from params import time_interval

current_time = 0


def time_now():
    global current_time
    return current_time


def time_increment():
    global current_time
    current_time += time_interval


worst_cost = 0
improved_cost = 0


def increase_worst_cost(cost):
    global worst_cost
    worst_cost += cost


def increase_improved_cost(cost):
    global improved_cost
    improved_cost += cost


def get_cost():
    global worst_cost, improved_cost
    return worst_cost, improved_cost
